how to hit enter in selenium python

101

selenium keys enter python -

from selenium.webdriver.common.keys import Keys
driver.find_element_by_name("Value").send_keys(Keys.ENTER)

enter selenium in python -

from selenium.webdriver.common.keys import Keys
     driver.find_element_by_id("element_id").send_keys(Keys.ENTER)

Comments

Submit
0 Comments